package com.niuniu.rushdorm.pojo.vo;

import com.niuniu.rushdorm.pojo.entity.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Meng
 * 2022/11/22
 */

/**
 * 该类只包含User表的部分信息，会存储在token中
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVO {
    public static final Integer MALE = 1;
    public static final Integer FEMALE = 0;
    public static final Integer STUDENT = 1;
    public static final Integer ADMIN = 0;
    private Long uid;
    private String name;
    private Integer gender;
    private Integer type;
    private Long lastLoginTime;
    private Student student;
}
